package com.yonyou.cyxdms.sysAuth.service.dto;

import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author ：quankk
 * @date ：Created in 2019/5/21 16:05
 * @description：短信验证码返回结果
 */
@ApiModel(value="短信验证码返回结果DTO",description="短信验证码返回结果对象")
public class SendSmsResultDTO extends DMSBaseDTO implements Serializable {

    @ApiModelProperty(value = "验证码,短信平台能发送验证码之后该字段返回null")
    private String checkCode;

    @ApiModelProperty(value = "手机号是否绑定， 0： 未绑定 ，1： 已绑定")
    private Integer ifBinding;

    @ApiModelProperty(value = "是否发送成功")
    private Boolean ifSuccess;

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public Integer getIfBinding() {
        return ifBinding;
    }

    public void setIfBinding(Integer ifBinding) {
        this.ifBinding = ifBinding;
    }

    public Boolean getIfSuccess() {
        return ifSuccess;
    }

    public void setIfSuccess(Boolean ifSuccess) {
        this.ifSuccess = ifSuccess;
    }

    @Override
    public String toString() {
        return "SendSmsResultDTO{" +
                "checkCode='" + checkCode + '\'' +
                ", ifBinding=" + ifBinding +
                '}';
    }
}
